package app.modules.account.persistence.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import jasmine.framework.database.mybatisplus.entity.BaseEntity;

/**
 * @author mh.z
 */
@TableName("sys_user")
public class UserEO extends BaseEntity {

    /** 用户名 */
    @TableField("user_name")
    private String userName;

    /** 用户类型 */
    @TableField("user_type")
    private String userType;

    /** 密码 */
    @TableField("password")
    private String password;

    /** 用户昵称 */
    @TableField(value = "user_nickname", updateStrategy = FieldStrategy.IGNORED)
    private String userNickname;

    /** 名字 */
    @TableField(value = "first_name", updateStrategy = FieldStrategy.IGNORED)
    private String firstName;

    /** 姓氏 */
    @TableField(value = "last_name", updateStrategy = FieldStrategy.IGNORED)
    private String lastName;

    /** 备注 */
    @TableField(value = "remark", updateStrategy = FieldStrategy.IGNORED)
    private String remark;

    /** 租户ID */
    @TableField("tenant_id")
    private Long tenantId;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUserNickname() {
        return userNickname;
    }

    public void setUserNickname(String userNickname) {
        this.userNickname = userNickname;
    }

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getTenantId() {
        return tenantId;
    }

    public void setTenantId(Long tenantId) {
        this.tenantId = tenantId;
    }
}
